import instance from '@/utils/request';

//获取移库列表
export function GetRelocationList(data) {
    return instance.request({
        url: "api/Relocation/GetRelocationList",
        method: "post",
        data
    })
}
//添加移库列表
export function AddRelocation(data) {
    return instance.request({
        url: "api/Relocation/AddRelocation",
        method: "post",
        data
    })
}
//查看移库列表
export function GetRelocationview(data) {
    return instance.request({
        url: "api/Relocation/GetRelocationview",
        method: "post",
        data
    })
}
//查看移库列表
export function GetRelocation(data) {
    return instance.request({
        url: "api/Relocation/GetRelocation",
        method: "post",
        data
    })
}
//批量删除移库列表
export function DeleteRelocationList(data) {
    return instance.request({
        url: "api/Relocation/DeleteRelocationList",
        method: "post",
        data
    })
}
//删除移库列表
export function DeleteRelocation(data) {
    return instance.request({
        url: "api/Relocation/DeleteRelocation",
        method: "post",
        data
    })
}
//审核移库列表（通过）
export function UpdAteaudit(data) {
    return instance.request({
        url: "api/Relocation/UpdAteaudit",
        method: "post",
        data
    })
}
//审核移库列表（不通过）
export function UpdAteaudit1(data) {
    return instance.request({
        url: "api/Relocation/UpdAteaudit1",
        method: "post",
        data
    })
}
//反填
export function SelRelocation(data) {
    return instance.request({
        url: "api/Relocation/SelRelocation",
        method: "post",
        data
    })
}
//修改
export function EditRelocation(data) {
    return instance.request({
        url: "api/Relocation/EditRelocation",
        method: "post",
        data
    })
}

//选择产品
export function GetProductList(data) {
    return instance.request({
        url: "api/Relocation/GetProductList",
        method: "post",
        data
    })
}